Hey, |
Re: 'oleIsObject' for other attributes than Object Text?
How about:
// The function you are looking for: bool containsOle (Attr__)
AttrDef ad
Object o = current
for ad in current Module do {
if (ad.typeName == "Text") {
string attrName = ad.name
if containsOle (o.attrName) then print "OLE Object found in attribute " attrName "\n"
}
}
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|
Re: 'oleIsObject' for other attributes than Object Text? Mathias Mamsch - Wed Oct 06 08:24:49 EDT 2010
How about:
// The function you are looking for: bool containsOle (Attr__)
AttrDef ad
Object o = current
for ad in current Module do {
if (ad.typeName == "Text") {
string attrName = ad.name
if containsOle (o.attrName) then print "OLE Object found in attribute " attrName "\n"
}
}
Mathias Mamsch, IT-QBase GmbH, Consultant for Requirement Engineering and D00RS
|